<%@ page import="com.mastercard.RedeemedVoucher" %>



<div class="fieldcontain ${hasErrors(bean: redeemedVoucherInstance, field: 'username', 'error')} ">
	<label for="username">
		<g:message code="redeemedVoucher.username.label" default="Username" />
		
	</label>
	<g:textField name="username" value="${redeemedVoucherInstance?.username}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: redeemedVoucherInstance, field: 'voucher', 'error')} required">
	<label for="voucher">
		<g:message code="redeemedVoucher.voucher.label" default="Voucher" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="voucher" name="voucher.id" from="${com.mastercard.Voucher.list()}" optionKey="id" required="" value="${redeemedVoucherInstance?.voucher?.id}" class="many-to-one"/>
</div>

